solve_least_squares_svd Interface

public interface solve_least_squares_svd

Module Procedures

private pure function solve_least_squares_mtx_svd(a, b) result(x)

Solves the system of equations using a singular value decomposition of .

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in), dimension(:,:) :: a

The M-by-N matrix .

real(kind=real64), intent(in), dimension(:,:) :: b

The M-by-NRHS matrix .

Return Value real(kind=real64), allocatable, dimension(:,:)

The N-by-NRHS matrix .

private pure function solve_least_squares_mtx_svd_cmplx(a, b) result(x)

Solves the system of equations using a singular value decomposition of .

Arguments

Type IntentOptional Attributes Name
complex(kind=real64), intent(in), dimension(:,:) :: a

The M-by-N matrix .

complex(kind=real64), intent(in), dimension(:,:) :: b

The M-by-NRHS matrix .

Return Value complex(kind=real64), allocatable, dimension(:,:)

The N-by-NRHS matrix .

private pure function solve_least_squares_vec_svd(a, b) result(x)

Solves the system of equations using a singular value decomposition of .

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in), dimension(:,:) :: a

The M-by-N matrix .

real(kind=real64), intent(in), dimension(:) :: b

The M-element vector .

Return Value real(kind=real64), allocatable, dimension(:)

The N-element vector .

private pure function solve_least_squares_vec_svd_cmplx(a, b) result(x)

Solves the system of equations using a singular value decomposition of .

Arguments

Type IntentOptional Attributes Name
complex(kind=real64), intent(in), dimension(:,:) :: a

The M-by-N matrix .

complex(kind=real64), intent(in), dimension(:) :: b

The M-element vector .

Return Value complex(kind=real64), allocatable, dimension(:)

The N-element vector .